Learning to Represent Haptic Feedback for Partially Observable Tasks