major improvements to client_interface and swim_packet