Adding payload to protocol, config sequences to client et helper methods to server class.