Fixed seg fault on no port given to server
Fixed seg fault on no port to client