Add the possibility to get response codes instead of true or false.

You can now pass the argument get_response_code (bool) and instead of
getting a true or false response, you'll get the actual response from
the server.