http_client: use strcpy() instead of strncpy() with sizeof dest buffer