Fix deprecated warnings
Fix failing proxy test

The server expected to receive a trailing forward-slash in the URL being
posted from curl.