TYRUS-302: introduced methods with type parameters to be able to register lambda based message handlers.

@see <T> void addMessageHandler(Class<T>, MessageHandler.Whole<T>)
@see <T> void addMessageHandler(Class<T>, MessageHandler.Partial<T>)