Options for creating new Socket
object.
Fields
optionalallowHalfOpen:Null<Bool>
If true, then the socket won't automatically send a FIN packet when the other end of the socket sends a FIN packet.
The socket becomes non-readable, but still writable. You should call the end
method explicitly.
See end
event for more information.
Default: false