function parseOptions completed
Function sockConnect() OK