sockjsclient: make buffer sizes configurable

This is needed so we can configure it on production environments easily.