basic server example from boost library samples
added PUT support