Handle errors in Usbmux socket for port negotiation

Check result value of usbmux socket for port request.
Add option receive timeout for usbmux socket connection.