PassThroughCode refactoring and create PassThrough Core and API for enhace reusability

HttpMethod class only has     GET, POST, PUT, DELETE, HEAD constants