Added an error message when you name class and file with names that don't match.
formatting
no need to set options twice
websocket example
websockets
better example; chat server
Include Goliath::TestHelper in spec/integration automatically by using RSpec's :file_path metadata option.
RSpec's default argument to raise_error is Exception
Merge branch 'master' of https://github.com/justinko/goliath into justinko-master
simplify websocket handling in connection
return 500 on bad upgrade handshake
simplify handlers in websocket class - no need to guard for
uninitialized handler anymore
prefix internal env vars with goliath to avoid any user collisions
allow an optional 'run as user' flag on startup
default options to empty
rewind the StringIO before calling down the middleware chain
reset the StringIO after we read it
allow post requests
test POST params are getting parsed properly
Move the logger to rack.logger.

Adds an Env#logger method to keep the API the same as what is currently
available but makes the Env a bit more rack compliant.

Closes #2.