Fixed Start/Stop bug
Proper conversion to SOCKET type.  Better error messages