update dict access (#818)
update dict access (#818)

* update dict access

``` if 'header' not in options or 'Sec-WebSocket-Key' not in options['header']:
                                  ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
TypeError: argument of type 'NoneType' is not iterable```

* Remove extra space for linter

Co-authored-by: engn33r <13adc609f8ba025b39beb22e8b797bb18505ab1e@users.noreply.github.com>
websocket-client/websocket-client