- Refactored request_socket code to make it cleaner and easier to understand
 - Removed my own error codes in preference of using standard linux error codes
 - Added a few more termination checks in zookeeper/key_value to avoid strange faults on exit.