Select the current port in use
Add tests for parsing json returned from boathttpd