 {
     public function Socket (host :String = null, port :int = 0)
     {
-        if (_theSocket != null) {
-            throw new Error("You may not create Sockets");
-        }
-        _theSocket = this;
+        //if (_theSocket != null) {
+        //    throw new Error("You may not create Sockets");
+        //}
+        //_theSocket = this;
 
         _state = ST_VIRGIN;
         Thane.requestHeartbeat(heartbeat);


    private var _bytesTotal :int = 0;

    private static var _theSocket :Socket = null;

    private static const ST_VIRGIN :int = 1;
    private static const ST_WAITING :int = 2;


    protected function heartbeat () :void
    {
        //if (_theSocket == null) {
        //    return;
        //}
        switch(_state) {
        case ST_VIRGIN:
            break;
