Added close method to proxy server.

Ensured server exists before closing.
Updated tests to use new close function.
Added documentation to README.
updated close function for safety
Merge pull request #679 from RackspaceEmailAndApps/close_proxy

Added functionality to close proxy.