Added ability to specific the host IP address and port for server to bind to. By default, now binds to the loopback address, only allowing local connections to the server.
Merge pull request #397 from fommil/server_hostport

rebased #333