add http server support for maru, small bug fixes