Socket.request made a nonwritable Socket property set in constructor