Changed client to regular socket