Improved Java api with reject method. Fixed a bug in FrameBuffer that prevented correct MessageFrame aggregation.