Initial http interface implementation.