Removed commented out #if code.
Style.
Use socklen_t instead.
Removed commented out backwards compatibility code.