Add end-to-end test for the server.

Ensures that server comes up on specified port (test by trying
to connect to it).