Max buffer size check on HTTP binding

fixes #7