Implemented error handling on Handler.ServeHTTP

Added some helper functions
fix
update example
Merge branch 'master' of github.com:scale-it/surfer

Conflicts:
	handler.go