Fix Javadoc issues. 

Replace Upstream with Inbound and Downstream with Outbound.