changed order of startup to call bind() before connect(), still broken