Add test for Google OAuth redirect
Use http-types more consistently
Minor refactoring
Work with Socket instead of Handle
Minor refactoring