OAuth 2 client written in bash and netcat