refactor client handler code, generate null client handler to return error response for invalid requests
add new file to build packets for various response, refactored some code