Implemented message padding in client_server