Added various command-line functionality, server now accepts one incoming connection and closes it