Allow websocket listeners to define at most 2 OnMessage handlers, one fo...

...r binary and one for either string or json data
That doesn't limit size, it only sets up initial size and loadfactor, the map can grow arbitrarily. 
https://docs.oracle.com/javase/7/docs/api/java/util/HashMap.html#HashMap(int)