Fixed errors in main.go
Reverse proxy first implementation (needs more tests)