Java library for building clients for XHTML-based hypermedia APIs