controller, pkg, router: extracted http methods into httpclient

Signed-off-by: Corey Powell <mistdragon100@gmail.com>