Removing unused methods/classes.
Refactoring to improve readability.
Merged CorsOutboundHandler/CorsInboundHandler into CorsHandler.