The ssl paramter of the os_transport_url should be 0/1 but we do not
ensure that this is the value being used in the creation of the
transport_url. This change leverages the stdlib str2bool and bool2num to
ensure that when provided the ssl paramter ends up being 0/1 which is
the correct format for the transport url. Additionally this also allows
for string booleans to be passed into the ssl parameter and it should
still work correctly.
Change-Id: I278559ba98ba48974ae590dc1e0bb99b6ab961d7