Added options to choose address/port to bind to, as well as a DEBUG mode