major changes. now have working http client/server