Allow user to specify a port number for dev server

When running both the http api and the webclient development server on the same machine then by default the same port number is used.