added mutex locking to individual remote server connections. Also added increased the buffer size of the original connection listener