Client and forward() Revisions

Server: forward(): handled wrap around case
Client: Moved some stuff out of the try block, fixed packet receiving

Leave still not working correctly