Added a maximum buffer size to received data from polling. Settable with the maxHttpBufferSize option