add option support for URL and PORT, outline msg parsing and error handling