Changes as a result of a pull request discussion

Fixing a type.
Default value for webSocketBinaryType set to null to avoid changing the
default text mode processing.