removing assertion on headers because of User-Agent: Java/1.7.0_45 header