Make sure no newlines from parameters are sent.

Not doing so would allow hijacking a connection.