DO NOT use the SERVICE_UNLOAD command when sending a HTTP response. Use the SEND command to create the response and then use the JSM_CLOSE BIF to close the connection. The byte array response returned to JSM Client program by the SEND command will be become the HTTP response.