removed unnecessary else statements
Return a Future from IOStream methods.

This makes it easier to use IOStreams directly from coroutines.

Closes #953.
Fixed automatic port allocation in bind_sockets.

bind_sockets should use the same port on IPv4 and IPv6 if port=None.