migrate slap.py from (httplib, socket, ssl, urllib) -> requests