move websocket_framing into a method
annotate attributes and fix exception handling when unknown connection type
refactor fetching bytes available to read
refactor initial payload reading and magic reading
ensure payload is reset once its read
split out Player class, and setup config/autoloader
add rspec
remove debug logging
update research
add spec for native socket connections