make spawned processes inherit parent environment
remove debug logging
Merge pull request #1 from ajitgeorge/fix-env

make spawned processes inherit parent environment
Fix output loss when process closes before its output is fully read

pipeStdErr signals the done channel as soon as the process closes,
resulting in the acceptWebSocket goroutine terminating even if
websocketd hasn't finished reading all of the process' stdout.

This implemenation replaces the signalling channels with input
channels.  The acceptWebSocket goroutine terminates when either input
source (process or websocket) is no longer available.
Merge pull request #2 from ajitgeorge/fix-terminate-on-stderr-close

Fix output loss when process closes before its output is fully read
Update AUTHORS
Kill spawned process on websocket close.  Refactor to Endpoints.

Endpoint interface has process and websocket implementations.
goroutines are still started in main.go.  Extracted pipeEndpoints,
which, along with Endpoints, should make it easier to test.

I was full of shit about closing stdin being enough to kill the
process.  You have to kill it, then reap it.
Merge pull request #3 from ajitgeorge/refactor-kill-process-on-ws-close

Kill spawned process on websocket close.  Refactor to Endpoints.
go fmt
s/Websocket/WebSocket/
If called with no args, will dump --help message.

Added --version.
Added the dev console. Run with --devconsole to test websocket endpoints.
Added websocketd --license option to show license.
Basic makefile
Fixed typo in console.
Auto format code on make
Cleaner error reporting at startup.
Standard log format.
Ensure process is always reaped.
Added windows VBScript and JScript examples

Because we can! And for testing.