DONE! (Could use some cleaning up, and SecureClientConnection isn't used but don't want to delete just yet)