Update AdapterWrapper.java

Allow configureHeader to return a null header.