Fix error when deserializing null port bindings

In older versions of Docker, inspecting a container returns a HostConfig
containing a map of port bindings where the values are possibly null. Deal
with this gracefully, instead of just throwing null pointer exceptions.