Fifth commit, adding UserAgent, communication almost works
Fifth commit, Added UserAgent, sendMessages almost work