Fix socket connection bug where socket would either not connect or attempt to connect twice.
Fixed improper UMODE parsing.