altered integration tests to use curl instead of home-grown socket code; which saves me from implementing my own SSL code
added authentication to all of the tests; works locally