Added some TCP methods. Added send to server peer functionality.