Cleanup resizing a little better and remove private key auth for now (the idea is of transmitting a private key of TLS is risky at best).