Explicit is better than implicit
Style
Close socket in case of error
Add TODO note
Updated README